home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12500 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.lang.c++
  2. Path: holt.arc.nasa.gov!kulkarni
  3. From: kulkarni@holt.arc.nasa.gov (Deepak Kulkarni)
  4. Subject: Translating C++ software to C
  5. Message-ID: <1996Mar18.173358.25938@ptolemy-ethernet.arc.nasa.gov>
  6. Sender: usenet@ptolemy-ethernet.arc.nasa.gov (usenet@ptolemy.arc.nasa.gov)
  7. Nntp-Posting-Host: holt.arc.nasa.gov
  8. Organization: NASA/ARC Computational Sciences Division
  9. Date: Mon, 18 Mar 1996 17:33:58 GMT
  10.  
  11.  
  12. -- 
  13.  
  14.  
  15. Hi,
  16.   I need to deliver software that has been written  in C++ as
  17. C software.   I translated the software using a cfront
  18. based compiler (centerline compiler)   to create  .c
  19. files. These compile fine as ANSI C files but at link time I have an error message
  20. regarding functions in <iostream.h>.  I use <iostream.h> <fstream.h>
  21. in the software.   Do I need need to link it with a particular library
  22. at link time?  What is the best way to translate C++ software to ANSI C
  23. software that can compile and run under a C compiler?
  24.  
  25.     Thanks in advance,
  26. Deepak
  27.  
  28. kulkarni@ptolemy.arc.nasa.gov
  29. --------------------------------------------------------------------------
  30. Deepak Kulkarni MS 269-2, NASA Ames Research Center,Moffett Field, CA 94035
  31. Phone:  415-604-4869 
  32.  
  33.  
  34.